ActionController::Routing::Routes.draw do |map|
  map.resources :features

	# RESTful routes
  map.resources :jobs
  map.resources :datasheets
  map.resources :graphics
  map.resources :categorizations
  map.resources :vails
  map.resources :categories
	map.resources :users
  map.resources :sessions

	# Named routes
  map.home '', :controller => 'home'
	map.signup '/signup', :controller => 'users', :action => 'new'
  map.login  '/login', :controller => 'sessions', :action => 'new'
  map.logout '/logout', :controller => 'sessions', :action => 'destroy'
	#map.edit_category '/:id/edit', :controller => 'categories', :action => 'edit'
 
	# Custom routes
	#map.connect ':id', :controller => 'categories', :action => 'show'
	
	# Default routes
  map.connect ':controller/service.wsdl', :action => 'wsdl'
  map.connect ':controller/:action/:id.:format'
	map.connect ':controller/:action/:id'
end
